package com.wan.emp.entity;
import java.io.Serializable;
import java.util.Date;

/**
 * @author anning
 */
public class Emp implements Serializable {
    private int     eno;
    private String ename;
    private String esex;
    private double salary;
    private String pwd;
    private Date    bornDate;
    private int     dno;
    private String phone;
    private com.wan.emp.entity.Dept d;

    public Emp(int eno, String ename, String esex, double salary, String pwd, Date bornDate, int dno, String phone) {
        this.eno = eno;
        this.ename = ename;
        this.esex = esex;
        this.salary = salary;
        this.pwd = pwd;
        this.bornDate = bornDate;
        this.dno = dno;
        this.phone = phone;
    }
    public Emp(String ename, String esex) {
        this.ename = ename;
        this.esex = esex;
    }
}
